Cytosim  PI
Cytoskeleton Simulator
SingleProp Class Reference
Inheritance diagram for SingleProp:
Property

Public Member Functions

 SingleProp (const std::string &n)
 constructor
 
 ~SingleProp ()
 destructor
 
SinglenewSingle (Glossary *opt=0) const
 create a Single with this property
 
WristnewWrist (PointExact const &) const
 create a Write with this property More...
 
std::string kind () const
 identifies the property
 
void clear ()
 set default values
 
void read (Glossary &)
 set from a Glossary
 
void complete (SimulProp const *, PropertyList *)
 compute derived parameter values
 
Propertyclone () const
 return a carbon copy of object
 
void write_data (std::ostream &) const
 write all values
 
- Public Member Functions inherited from Property
 Property (const std::string &n, const int index=-1)
 constructor must provide a name
 
virtual ~Property ()
 destructor
 
std::string name () const
 return identifier for instantiation
 
void name (const std::string &n)
 change name
 
bool is_named (const std::string &n)
 true if 'name' matches
 
int index () const
 index, unique among all Property of similar kind()
 
void index (int x)
 set index in the array of Properties
 
bool modified () const
 true if at least one value is different than its default setting
 
void readString (std::string &, char stamp)
 set from a string, return number of values assigned More...
 
void readFile (const char file[])
 set from a string, return number of values assigned
 
void write_diff (std::ostream &, const Property *ref) const
 write only values that differ from the ones specified in ref
 
void write_diff (std::ostream &, bool prune) const
 if ( prune == true ), write values that differ from the default values
 
void write (std::ostream &, bool prune=false) const
 write header + data More...
 

Public Attributes

std::string hand
 name of Hand
 
real stiffness
 stiffness of link
 
real length
 resting length of link
 
real diffusion
 diffusion coefficient
 
Confinement confine
 Confinement can be none, inside (default) or surface.
 
real confine_stiff
 Unused Parameter: confinement stiffness (this is specified as confine[1])
 
std::string confine_space
 name of space for confinement (this is specified as confine[2])
 
std::string activity
 specialization More...
 

Protected Attributes

HandProphand_prop
 Property of associated Hand.
 
Space const * confine_space_ptr
 associated Space
 
real diffusion_dt
 displacement in one time_step
 

Friends

class Single
 
class Wrist
 
class WristLong
 

Additional Inherited Members

- Static Public Member Functions inherited from Property
template<typename C >
static void write_param (std::ostream &os, std::string const &name, C const &c)
 formatted output of one parameter
 
template<typename C >
static void write_param (std::ostream &os, std::string const &name, C const *c, int cnt)
 formatted output of one parameter
 
template<typename C , typename D >
static void write_param (std::ostream &os, std::string const &name, C const &c, D const &d)
 formatted output of one parameter
 
template<typename C , typename D , typename E >
static void write_param (std::ostream &os, std::string const &name, C const &c, D const &d, E const &e)
 formatted output of one parameter
 
template<typename C , typename D , typename E , typename F >
static void write_param (std::ostream &os, std::string const &name, C const &c, D const &d, E const &e, F const &f)
 formatted output of one parameter
 

Member Function Documentation

Wrist * newWrist ( PointExact const &  point) const

The Wrist requires a anchor point to be created